#include"Rectangle.h"
#include "Square.h"
#include <conio.h>
int main()
{
	Rectangle rect;
	Square sqr (4);
	rect.convert (sqr);
	cout<<rect.area();
	_getch();
	return 0;
}